package createoffer.data;

import java.util.ArrayList;

public class OneFieldTest {

	public void runTests(ArrayList<String> codeInjection, int codeInjectionSize) {
		titleTests(codeInjection, codeInjectionSize);
		descriptionTests(codeInjection, codeInjectionSize);
		locationTests(codeInjection, codeInjectionSize);
		priceTests(codeInjection, codeInjectionSize);
		
	}

	private void priceTests(ArrayList<String> codeInjection,
			int codeInjectionSize) {
		PriceTests priceTests = new PriceTests();
		priceTests.runTests(codeInjection, codeInjectionSize);
		
	}

	private void locationTests(ArrayList<String> codeInjection,
			int codeInjectionSize) {
		LocationTests locationTests = new LocationTests();
		locationTests.runTests(codeInjection, codeInjectionSize);
		
	}

	private void descriptionTests(ArrayList<String> codeInjection,
			int codeInjectionSize) {
		DescriptionTests descriptionTests = new DescriptionTests();
		descriptionTests.runTests(codeInjection, codeInjectionSize);
		
	}

	private void titleTests(ArrayList<String> codeInjection,
			int codeInjectionSize) {
		TitleTests titleTests = new TitleTests();
		titleTests.runTests(codeInjection, codeInjectionSize);
		
	}

}
